<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>mini vue</title>
</head>
<body>
<div id="app">
  <h3>差值表达式</h3>
  <p>{{ msg }}</p>
  <p>{{ person.name.nic }}</p>
  <h3>v-text</h3>
  <p v-text="msg"></p>
  <p v-text="person.name.nic"></p>
  <h3>v-model</h3>
  <input type="text" v-model="msg">
  <input type="text" v-model="person.name.nic">
  <input id="msg" type="button" value="点击改变msg">
  <input id="name" type="button" value="点击改变name">
  <h3>v-html</h3>
  <p>{{ dom.html }}</p>
  <p v-html="dom.html"></p>
  <input type="button" value="点击改变字体" v-on:click="() => {person.name = 'ddddd'}">
</div>
<script type="module" src="./index.js"></script>
</body>
</html>